package p270jp.pxv.android.commonObjects.model;

import android.support.p000v4.media.C0261e;
import java.io.Serializable;
import java.util.Date;
import p014ae.C0172v6;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: PixivComment.kt */
/* renamed from: jp.pxv.android.commonObjects.model.PixivComment */
/* loaded from: classes2.dex */
public final class PixivComment implements Serializable {
    @SerializedName("comment")
    private final String comment;
    @SerializedName("date")
    private final Date date;
    @SerializedName("has_replies")
    private final boolean hasReplies;
    @SerializedName("id")

    /* renamed from: id */
    private final int f18966id;
    @SerializedName("stamp")
    private final Stamp stamp;
    @SerializedName("user")
    private final PixivCommentOwner user;

    public PixivComment(int i, String str, Date date, PixivCommentOwner pixivCommentOwner, boolean z, Stamp stamp) {
        MutabilityOwnership.m3745m(str, "comment");
        MutabilityOwnership.m3745m(date, "date");
        MutabilityOwnership.m3745m(pixivCommentOwner, "user");
        this.f18966id = i;
        this.comment = str;
        this.date = date;
        this.user = pixivCommentOwner;
        this.hasReplies = z;
        this.stamp = stamp;
    }

    public static /* synthetic */ PixivComment copy$default(PixivComment pixivComment, int i, String str, Date date, PixivCommentOwner pixivCommentOwner, boolean z, Stamp stamp, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = pixivComment.f18966id;
        }
        if ((i2 & 2) != 0) {
            str = pixivComment.comment;
        }
        if ((i2 & 4) != 0) {
            date = pixivComment.date;
        }
        if ((i2 & 8) != 0) {
            pixivCommentOwner = pixivComment.user;
        }
        if ((i2 & 16) != 0) {
            z = pixivComment.hasReplies;
        }
        if ((i2 & 32) != 0) {
            stamp = pixivComment.stamp;
        }
        return pixivComment.copy(i, str, date, pixivCommentOwner, z, stamp);
    }

    public final int component1() {
        return this.f18966id;
    }

    public final String component2() {
        return this.comment;
    }

    public final Date component3() {
        return this.date;
    }

    public final PixivCommentOwner component4() {
        return this.user;
    }

    public final boolean component5() {
        return this.hasReplies;
    }

    public final Stamp component6() {
        return this.stamp;
    }

    public final PixivComment copy(int i, String str, Date date, PixivCommentOwner pixivCommentOwner, boolean z, Stamp stamp) {
        MutabilityOwnership.m3745m(str, "comment");
        MutabilityOwnership.m3745m(date, "date");
        MutabilityOwnership.m3745m(pixivCommentOwner, "user");
        return new PixivComment(i, str, date, pixivCommentOwner, z, stamp);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivComment)) {
            return false;
        }
        PixivComment pixivComment = (PixivComment) obj;
        return this.f18966id == pixivComment.f18966id && MutabilityOwnership.m3749h(this.comment, pixivComment.comment) && MutabilityOwnership.m3749h(this.date, pixivComment.date) && MutabilityOwnership.m3749h(this.user, pixivComment.user) && this.hasReplies == pixivComment.hasReplies && MutabilityOwnership.m3749h(this.stamp, pixivComment.stamp);
    }

    public final String getComment() {
        return this.comment;
    }

    public final Date getDate() {
        return this.date;
    }

    public final boolean getHasReplies() {
        return this.hasReplies;
    }

    public final int getId() {
        return this.f18966id;
    }

    public final Stamp getStamp() {
        return this.stamp;
    }

    public final PixivCommentOwner getUser() {
        return this.user;
    }

    @Override // java.lang.Object
    public int hashCode() {
        int hashCode = (this.user.hashCode() + ((this.date.hashCode() + C0172v6.m12134a(this.comment, this.f18966id * 31, 31)) * 31)) * 31;
        boolean z = this.hasReplies;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = (hashCode + i) * 31;
        Stamp stamp = this.stamp;
        return i4 + (stamp == null ? 0 : stamp.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivComment(id=");
        c.append(this.f18966id);
        c.append(", comment=");
        c.append(this.comment);
        c.append(", date=");
        c.append(this.date);
        c.append(", user=");
        c.append(this.user);
        c.append(", hasReplies=");
        c.append(this.hasReplies);
        c.append(", stamp=");
        c.append(this.stamp);
        c.append(')');
        return c.toString();
    }
}